A key switch is a switch that can be activated only by a key.
Key switches are usually used in situations where access needs to be restricted to the switch's functions.